package com.yilin.tms.data.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yilin.tms.core.application.PageData;
import com.yilin.tms.core.entity.data.etc.EtcOrder;
import com.yilin.tms.core.entity.user.organize.Organize;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;

@Mapper
@Repository
public interface EtcMapper extends BaseMapper<EtcOrder> {
    @PostMapping(value = "data/etc/getEtcOrderPage")
    PageData<EtcOrder> getEtcOrderPage(@Param("organize") Organize organize, @Param("query") EtcOrder query,
                                       @Param("page") PageData<Object> page);

}
